package zzs.generalframework.console.core.authorization.authfunction.dao;

import java.util.List;

import zzs.generalframework.common.core.authorization.authfunction.AuthFunctionInfo;
import zzs.generalframework.common.core.authorization.authfunction.AuthFunctionPO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.authorization.authfunction.dao
 * @author zzs
 * @date 2018年1月31日
 * @version 1.0
 */
public interface IAuthFunctionDao
{
	/**
	 * 创建权限功能信息
	 * 
	 * @param authFunctionPO
	 * @return
	 */
	public boolean insert(AuthFunctionPO authFunctionPO);

	/**
	 * 更新权限功能信息
	 *
	 * @param authFunctionPO
	 * @return
	 */
	public boolean update(AuthFunctionPO authFunctionPO);

	/**
	 * 获取权限功能信息
	 *
	 * @param authFunctionInfo
	 * @return
	 */
	public List<AuthFunctionPO> select(AuthFunctionInfo authFunctionInfo);

	/**
	 * 删除权限功能信息
	 *
	 * @param authFunctionPO
	 * @return
	 */
	public boolean delete(AuthFunctionPO authFunctionPO);

	/**
	 * 统计权限功能信息
	 * 
	 * @param authFunctionPO
	 * @return
	 */
	public Long count(AuthFunctionPO authFunctionPO);

}
